/*
 * XML Type:  StockInfo
 * Namespace: http://ofx.net/types/2003/04
 * Java type: net.ofx.types.x2003.x04.StockInfo
 *
 * Automatically generated - do not modify.
 */
package net.ofx.types.x2003.x04;


/**
 * An XML StockInfo(@http://ofx.net/types/2003/04).
 *
 * This is a complex type.
 */
public interface StockInfo extends net.ofx.types.x2003.x04.AbstractSecurityInfo
{
    public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)schema.system.s3A74FF4CC3627C5B0D40068015746F8A.TypeSystemHolder.typeSystem.resolveHandle("stockinfo2d30type");
    
    /**
     * Gets the "STOCKTYPE" element
     */
    net.ofx.types.x2003.x04.StockEnum.Enum getSTOCKTYPE();
    
    /**
     * Gets (as xml) the "STOCKTYPE" element
     */
    net.ofx.types.x2003.x04.StockEnum xgetSTOCKTYPE();
    
    /**
     * True if has "STOCKTYPE" element
     */
    boolean isSetSTOCKTYPE();
    
    /**
     * Sets the "STOCKTYPE" element
     */
    void setSTOCKTYPE(net.ofx.types.x2003.x04.StockEnum.Enum stocktype);
    
    /**
     * Sets (as xml) the "STOCKTYPE" element
     */
    void xsetSTOCKTYPE(net.ofx.types.x2003.x04.StockEnum stocktype);
    
    /**
     * Unsets the "STOCKTYPE" element
     */
    void unsetSTOCKTYPE();
    
    /**
     * Gets the "YIELD" element
     */
    java.lang.String getYIELD();
    
    /**
     * Gets (as xml) the "YIELD" element
     */
    net.ofx.types.x2003.x04.RateType xgetYIELD();
    
    /**
     * True if has "YIELD" element
     */
    boolean isSetYIELD();
    
    /**
     * Sets the "YIELD" element
     */
    void setYIELD(java.lang.String yield);
    
    /**
     * Sets (as xml) the "YIELD" element
     */
    void xsetYIELD(net.ofx.types.x2003.x04.RateType yield);
    
    /**
     * Unsets the "YIELD" element
     */
    void unsetYIELD();
    
    /**
     * Gets the "DTYIELDASOF" element
     */
    java.lang.String getDTYIELDASOF();
    
    /**
     * Gets (as xml) the "DTYIELDASOF" element
     */
    net.ofx.types.x2003.x04.DateTimeType xgetDTYIELDASOF();
    
    /**
     * True if has "DTYIELDASOF" element
     */
    boolean isSetDTYIELDASOF();
    
    /**
     * Sets the "DTYIELDASOF" element
     */
    void setDTYIELDASOF(java.lang.String dtyieldasof);
    
    /**
     * Sets (as xml) the "DTYIELDASOF" element
     */
    void xsetDTYIELDASOF(net.ofx.types.x2003.x04.DateTimeType dtyieldasof);
    
    /**
     * Unsets the "DTYIELDASOF" element
     */
    void unsetDTYIELDASOF();
    
    /**
     * Gets the "ASSETCLASS" element
     */
    net.ofx.types.x2003.x04.AssetClassEnum.Enum getASSETCLASS();
    
    /**
     * Gets (as xml) the "ASSETCLASS" element
     */
    net.ofx.types.x2003.x04.AssetClassEnum xgetASSETCLASS();
    
    /**
     * True if has "ASSETCLASS" element
     */
    boolean isSetASSETCLASS();
    
    /**
     * Sets the "ASSETCLASS" element
     */
    void setASSETCLASS(net.ofx.types.x2003.x04.AssetClassEnum.Enum assetclass);
    
    /**
     * Sets (as xml) the "ASSETCLASS" element
     */
    void xsetASSETCLASS(net.ofx.types.x2003.x04.AssetClassEnum assetclass);
    
    /**
     * Unsets the "ASSETCLASS" element
     */
    void unsetASSETCLASS();
    
    /**
     * Gets the "FIASSETCLASS" element
     */
    java.lang.String getFIASSETCLASS();
    
    /**
     * Gets (as xml) the "FIASSETCLASS" element
     */
    net.ofx.types.x2003.x04.GenericNameType xgetFIASSETCLASS();
    
    /**
     * True if has "FIASSETCLASS" element
     */
    boolean isSetFIASSETCLASS();
    
    /**
     * Sets the "FIASSETCLASS" element
     */
    void setFIASSETCLASS(java.lang.String fiassetclass);
    
    /**
     * Sets (as xml) the "FIASSETCLASS" element
     */
    void xsetFIASSETCLASS(net.ofx.types.x2003.x04.GenericNameType fiassetclass);
    
    /**
     * Unsets the "FIASSETCLASS" element
     */
    void unsetFIASSETCLASS();
    
    /**
     * A factory class with static methods for creating instances
     * of this type.
     */
    
    public static final class Factory
    {
        public static net.ofx.types.x2003.x04.StockInfo newInstance() {
          return (net.ofx.types.x2003.x04.StockInfo) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
        
        public static net.ofx.types.x2003.x04.StockInfo newInstance(org.apache.xmlbeans.XmlOptions options) {
          return (net.ofx.types.x2003.x04.StockInfo) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
        
        public static net.ofx.types.x2003.x04.StockInfo parse(java.lang.String s) throws org.apache.xmlbeans.XmlException {
          return (net.ofx.types.x2003.x04.StockInfo) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( s, type, null ); }
        
        public static net.ofx.types.x2003.x04.StockInfo parse(java.lang.String s, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (net.ofx.types.x2003.x04.StockInfo) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( s, type, options ); }
        
        public static net.ofx.types.x2003.x04.StockInfo parse(java.io.File f) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.ofx.types.x2003.x04.StockInfo) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( f, type, null ); }
        
        public static net.ofx.types.x2003.x04.StockInfo parse(java.io.File f, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.ofx.types.x2003.x04.StockInfo) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( f, type, options ); }
        
        public static net.ofx.types.x2003.x04.StockInfo parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.ofx.types.x2003.x04.StockInfo) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
        
        public static net.ofx.types.x2003.x04.StockInfo parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.ofx.types.x2003.x04.StockInfo) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
        
        public static net.ofx.types.x2003.x04.StockInfo parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.ofx.types.x2003.x04.StockInfo) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
        
        public static net.ofx.types.x2003.x04.StockInfo parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.ofx.types.x2003.x04.StockInfo) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
        
        public static net.ofx.types.x2003.x04.StockInfo parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.ofx.types.x2003.x04.StockInfo) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
        
        public static net.ofx.types.x2003.x04.StockInfo parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.ofx.types.x2003.x04.StockInfo) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
        
        public static net.ofx.types.x2003.x04.StockInfo parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
          return (net.ofx.types.x2003.x04.StockInfo) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
        
        public static net.ofx.types.x2003.x04.StockInfo parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (net.ofx.types.x2003.x04.StockInfo) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
        
        public static net.ofx.types.x2003.x04.StockInfo parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (net.ofx.types.x2003.x04.StockInfo) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
        
        public static net.ofx.types.x2003.x04.StockInfo parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (net.ofx.types.x2003.x04.StockInfo) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
        
        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
        
        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
        
        private Factory() { } // No instance of this class allowed
    }
}
